Miller's Primality Test

نویسنده

  • Hendrik W. Lenstra
چکیده

Primality test, prime In this paper we prove the following simplification of Miller's primality criterion [2]. Theorem 1. Assume that for every integer d that is 1 mod 4 and either prime or the product of two primes, the L-function I= & (k/d) l kmS satisfies the generalized Riemann hypothesis, where {kid) denotes the Jacobi symbol, defined below. Let n be an odd integer, n > I , and write n-I-= 2t l u, with t and u integers, and u odd. Then n is a prime number if and onlv if for every prime number a < c 9 (log nj2, a # n, we have a uz 1 modn (1) Or *2i-u_=-1 mod n for some integer j, 0 < j < t. (2) Here c is some constant not depending on n, and log denotes the natural logarithm. This theorem differs in two respects from Miller's result. In the first place, we require the generalized Riemann hypothesis for a smaller set of L-functions than Miller does. This results from a simplification (of Miller's proof, which has been observed by several people and which consists in elirninating the modified Carlnichael function from the argument. In the sec-13nd Flare: we have suppressed Miller's condition that 12 is nl, pt;rfect power, i.e. n # ms for all integers m, s with s 2 2. This point could have been dealt with by applying Nfontgomerv's version of Ankeny's theorem '3 Theorem 13.11 tcl 3 character of order p that is deiined modulop2, fcjrp prime, but this would have 86 required the generalized Riemann hypothesis for the L-functions attached to such characters. Instead we give a completely elementary argument, which requires no unproved hypotheses, and which leads to the following two results. Theorem 2. Let n be a positive integer, n # 4, and assume that a "-1 3 1 mod n for every prime number a < (log nj2. l7ien n is the product of distinct prime numbers. Theorem 3. Let p be an odd prime number. 13ten we have ap-' $1 mod p2 for some prime number a < 4 l (logp)2. It ,will be clear from the proof of Theorem 3, that for every E > 0 we can take a < @em2 + e) l (log Q)~ for all p exceeding a bound depending on e; here 4K2 = 0.54134.... Theorem 3 is probably far from best possible, …

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Search for Information Bearing Components in Speech

In this paper, we use mutual information to characterize the distributions of phonetic and speaker/channel information in a timefrequency space. The mutual information (MI) between the phonetic label and one feature, and the joint mutual information (JMI) between the phonetic label and two or three features are estimated . The Miller's bias formulas for entropy and mutual information estimates ...

متن کامل

in Advances in Neural Information Processing Systems

In this paper, we use mutual information to characterize the distributions of phonetic and speaker/channel information in a time-frequency space. The mutual information (MI) between the pho-netic label and one feature, and the joint mutual information (JMI) between the phonetic label and two or three features are estimated. The Miller's bias formulas for entropy and mutual information estimates...

متن کامل

Book Reviews: WordNet: An Electronic Lexical Database

WordNet is perhaps the most important and widely used lexical resource for natural language processing systems up to now. WordNet: An Electronic Lexical Database, edited by Christiane Fellbaum, discusses the design of WordNet from both theoretical and historical perspectives, provides an up-to-date description of the lexical database, and presents a set of applications of WordNet. The book cont...

متن کامل

Four primality testing algorithms

Four primality testing algorithms Introduction. In this expository paper we describe four primality tests. The first test is very efficient, but is only capable of proving that a given number is either composite or 'very probably' prime. The second test is a deterministic polynomial time algorithm to prove that a given numer is either prime or composite. The third and fourth primality tests are...

متن کامل

Improving the Speed and Accuracy of the Miller-Rabin Primality Test

Currently, even the fastest deterministic primality tests run slowly, with the AgrawalKayal-Saxena (AKS) Primality Test runtime Õ(log(n)), and probabilistic primality tests such as the Fermat and Miller-Rabin Primality Tests are still prone to false results. In this paper, we discuss the accuracy of the Miller-Rabin Primality Test and the number of nonwitnesses for a composite odd integer n. We...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • Inf. Process. Lett.

دوره 8  شماره 

صفحات  -

تاریخ انتشار 1979